package com.zh.servicer.dao;


import com.zh.servicer.domain.ServiceDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2018-11-03 14:25:23
 */
@Mapper
public interface ServiceDao {

	ServiceDO get(String userId);
	
	List<ServiceDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(ServiceDO service);
	
	int update(ServiceDO service);
	
	int remove(String user_id);
	
	int batchRemove(String[] userIds);

	List<ServiceDO> type();
}
